package com.zktr.pojo;

public class Attribute {
	private int attrid;
	private int typeid;
	private String attrname;
	private boolean attrtype;
	private String attrvalues;
	private boolean attrindex;
	private int sortorder;
	private boolean islinked;
	private boolean attrgroup;
	public int getAttrid() {
		return attrid;
	}
	public void setAttrid(int attrid) {
		this.attrid = attrid;
	}
	public int getTypeid() {
		return typeid;
	}
	public void setTypeid(int typeid) {
		this.typeid = typeid;
	}
	public String getAttrname() {
		return attrname;
	}
	public void setAttrname(String attrname) {
		this.attrname = attrname;
	}
	public boolean isAttrtype() {
		return attrtype;
	}
	public void setAttrtype(boolean attrtype) {
		this.attrtype = attrtype;
	}
	public String getAttrvalues() {
		return attrvalues;
	}
	public void setAttrvalues(String attrvalues) {
		this.attrvalues = attrvalues;
	}
	public boolean isAttrindex() {
		return attrindex;
	}
	public void setAttrindex(boolean attrindex) {
		this.attrindex = attrindex;
	}
	public int isSortorder() {
		return sortorder;
	}
	public void setSortorder(int sortorder) {
		this.sortorder = sortorder;
	}
	public boolean isIslinked() {
		return islinked;
	}
	public void setIslinked(boolean islinked) {
		this.islinked = islinked;
	}
	public boolean isAttrgroup() {
		return attrgroup;
	}
	public void setAttrgroup(boolean attrgroup) {
		this.attrgroup = attrgroup;
	}
	public Attribute(int attrid, int typeid, String attrname, boolean attrtype, String attrvalues, boolean attrindex,
			int sortorder, boolean islinked, boolean attrgroup) {
		super();
		this.attrid = attrid;
		this.typeid = typeid;
		this.attrname = attrname;
		this.attrtype = attrtype;
		this.attrvalues = attrvalues;
		this.attrindex = attrindex;
		this.sortorder = sortorder;
		this.islinked = islinked;
		this.attrgroup = attrgroup;
	}
	@Override
	public String toString() {
		return "Attribute [attrid=" + attrid + ", typeid=" + typeid + ", attrname=" + attrname + ", attrtype="
				+ attrtype + ", attrvalues=" + attrvalues + ", attrindex=" + attrindex + ", sortorder=" + sortorder
				+ ", islinked=" + islinked + ", attrgroup=" + attrgroup + "]";
	}
	public Attribute() {
	}

}
